package com.streetsmart.main;

import java.io.IOException;
import java.net.HttpURLConnection;
import java.net.URL;

import com.streetsmart.LocationService;

import android.app.AlertDialog;
import android.app.Application;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.location.LocationManager;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import android.provider.Settings;
import android.util.Log;
import android.widget.Toast;

public class SSMyApplication extends Application{
	private static Context context;

    @Override
    public void onCreate() {  
    	super.onCreate();
        this.context=this; 
        try {
			Class.forName("android.os.AsyncTask");
		} catch (ClassNotFoundException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
        //.getApplicationContext();
    }

    public static Context getAppContext() {
        return context;
    }
    

}
